package com.lxlg.lxlg_order.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author kevin
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GoodsOrder implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    /**
     * 订单编号
     */
    private String orderCode;

    private Integer payCode;

    private Integer userId;

    private String userName;

    private String userPhone;

    private Integer payWayId;

    private Date payTime;

    private Date createTime;

    private Date deliveryTime;

    private Date recevieTime;

    private Date saleEndTime;

    /**
     * 订单状态（0默认未支付  1已支付 2取消订单 3退款 4退货）
     */
    private Integer orderState;

    private String goodsTotalPrice;

    private String merchantPriceResuce;
//
//    private String merchantName;
//
//    private Integer merchantId;

//    private String discountResuce;

    private Double consumeAllScore;


}
